<template>
	<view>
		<view @tap="changeS('darkness')" >默认主题</view>
		<view @tap="changeS('dashing')" >特殊主题</view>
	</view>
  <!-- 本次主题测试仅在首页、更多、我的进行测试，没有在二级页面进行测试 -->
</template>

<script>
import { reactive,onMounted} from 'vue'
import { changeSelect } from '../../common/publicStyle'

export default {
  name: '',
	methods: {
		changeS: function (sel) {
			changeSelect(sel)
			uni.setNavigationBarColor({
			    frontColor: '#ffffff',
			    backgroundColor: '#ff0000',
			    animation: {
			        duration: 400,
			        timingFunc: 'easeIn'
			    }
			})
		}
	}
};
</script>
<style scoped lang='scss'>
</style>